package net.xuwu.marry.service.circle.dao;

import java.util.List;

import org.springframework.dao.DataAccessException;

import net.xuwu.marry.service.circle.bean.CircleBasicBean;
import net.xuwu.marry.service.circle.bean.CircleHotBean;

/**
 * quanzi
 * @author xw
 *
 */
public interface ICircleDao {
	/**
	 * 得到圈子所有信息
	 * @return
	 * @throws DataAccessException
	 */
	public List<CircleBasicBean> getCircleInfo() throws DataAccessException;
	/**
	 * 增加圈子信息
	 * @param circleBasicBean
	 * @throws DataAccessException
	 */
	public void insertCircleInfo(CircleBasicBean circleBasicBean) throws DataAccessException;
	
	/**
	 * 得到圈子热点信息
	 * @return
	 * @throws DataAccessException
	 */
	public List<CircleHotBean> getCircleHotInfo() throws DataAccessException;
	/**
	 * 
	 * @return
	 * @throws DataAccessException
	 */
	public void insertCircleHotInfo(CircleHotBean circleHotBean) throws DataAccessException;
}
